<table>
    <tr>
        <td>
            Name
        </td>
        <td>
            <?= $data->name ?>
        </td>
    </tr>
    <tr>
        <td>
            Company | Organization
        </td>
        <td>
            <?= $data->company ?>
        </td>
    </tr>
    <tr>
        <td>
            Title
        </td>
        <td>
            <?= $data->title ?>
        </td>
    </tr>
    <tr>
        <td>
            Email
        </td>
        <td>
            <?= $data->email ?>
        </td>
    </tr>
    <tr>
        <td>
            Mobile
        </td>
        <td>
            <?= $data->mobile ?>
        </td>
    </tr>
    <tr>
        <td>
            Comments
        </td>
        <td>
            <?= $data->comments ?>
        </td>
    </tr>
</table>

<div>
    Why <?= $data->name ?> interested to sponsor TEDxCairo
</div>
<table>
    <?php
            if (sizeof($data->interestedQuestions) > 0) {
                foreach ($data->interestedQuestions as $interestedQuestion) {
    ?>
                    <tr>
                        <td>
            <?php if($interestedQuestion->interestedQuestion->name=="Other"){
                echo ($interestedQuestion->interestedQuestion->name ." : ". $interestedQuestion->others);
            }?>
                </td>
            </tr>
    <?php
                }
            }
    ?>

        </table>

        <div>
            Sponsor Privileges
        </div>
        <table>
    <?php
            if (sizeof($data->sponsorPrivilegess) > 0) {
                foreach ($data->sponsorPrivilegess as $privilege) {
    ?>
                    <tr>                
                        <td>
                            (<?= $privilege->sponsorPrivileges->type->name ?>)<?= $privilege->sponsorPrivileges->name ?>
                        </td>
                    </tr>
    <?php
                }
            }
    ?>

</table>

